#pragma once

#include <vld.h>

#include "BeanieIncludes.h"
#include "BeanieDefines.h"
#include "BeanieEnums.h"

class TimeFramework
{
private:
	INT64 m_frequency;
	INT64 m_start;
	float m_ticks;
	float m_time;
	float m_previous;
	float m_elapsed;
public:
	int init();
	int update();

	float getElapsed(){return m_elapsed;}
	float getTime(){return m_time;}

	float* ptrElapsed(){return &m_elapsed;}
	float* ptrTime(){return &m_time;}
};